de_util ~master (2021-10-26T20:15:40.7960244)
Dub
Repo
managed.opCast
devisualization
util
core
memory
managed
managed
Casts a basic type to a similar (aka same sized) type
managed
!(
const
(
Type
))
opCast
()
managed
!(
immutable
(
Type
))
opCast
()
managed
!(
CopyConstness
!(
Type
,
Type2
))
opCast
()
managed
!(
CopyConstness
!(
Type
,
Type2
))
opCast
()
managed
!(
CopyConstness
!(
Type
,
Type2
)[])
opCast
()
managed
!(
CopyConstness
!(
Type
,
Type2
))
opCast
()
struct
managed
(Type)
static if
(!(
is(Type == class) || is(Type == interface)
))
static if
(!(
is(Type : TypeIf_Class[], TypeIf_Class) && (is(TypeIf_Class == class) || is(TypeIf_Class == interface))
))
static if
(
isBasicType!Type || is(Type == struct)
)
managed
!(
CopyConstness
!(
Type
,
Type2
))
opCast
(
Type2
:
managed
!
Type2
)
(
)
if
(
(
isBasicType
!
Type2
||
is
(
Type2
== struct)
)
&&
Type2.sizeof
==
Type.sizeof
)
managed
!(
CopyConstness
!(
TypeIf_StructBasic
,
Type2
)[])
opCast
()
Meta
Source
See Implementation
devisualization
util
core
memory
managed
managed
aliases
AllocatorType
__managedAllocator
destructors
~this
functions
__managedGet
isNull
opCast
postblits
this(this)
static functions
opCall
Casts a basic type to a similar (aka same sized) type